package com.yuqih.common.service.impl;

import org.bson.types.ObjectId;

import com.yuqih.common.service.IIdGenerator;

public class ObjectIdGenerator implements IIdGenerator {

	@Override
	public Object generate() {
		return new ObjectId().toHexString();
	}

}
